<div class="panel panel-info">
        <div class="panel-heading">{{category_old.name}}</div>
        {% if category_old.children %}
        <ul class="list-group">
            {% for category_value in category_old.children -%}
                <a href="{{request.route_url('category',id=category_value.id)}}" class="list-group-item {% if category_value.id==categroy_id -%}active{%- endif %}" >{{category_value.name}}</a>
            {%- endfor %}
        </ul>
        {% endif %}
    </div>